//
//  BaseTabPanel.h
//  AsyncImages
//
//  Created by Matthew on 12-1-1.
//  Copyright 2012年 develop4u.gr. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TopBar.h"
#import "BaseDetailPanel.h"
#import "BaseInfoPanel.h"
#import "XMLTable.h"

@class TopBar;
@class BaseDetailPanel;
@class BaseInfoPanel;
@class XMLTable;

@interface BaseTabPanel : UIView 
{
    TopBar *titleTopBar;
    
    UISegmentedControl *topTap;
    
    XMLTable *table1;
    XMLTable *table2;
    XMLTable *table3;
    
    BaseInfoPanel *table1_2_and_2_2;

    BaseDetailPanel *detailPanel;
    
    NSString *table1_2_link;
    NSString *table2_2_link;
    NSString *detail_table_link;
    
    NSString *detail_panel_shift_in;
    NSString *unit_trigger;
    NSString *detail_panel_shift_out;
    NSString *detail_view_exit;
    NSString *page_refresh;
    NSString *share_btn_trigger;
    
    NSString *unit_trigger_1_2;
    NSString *detail_view_exit_1_2;
    
    NSString *unit_trigger_2_2;
    NSString *detail_view_exit_2_2;
    
    NSString *detail_view_exit_3;
    
    NSString *unit_trigger_3_1;
    
    NSString *suffix;
    
    UISegmentedControl * seg;
}

-(void) initWithTags:(NSArray *) inTagArr
             topBarTitle:(NSString *) inTopBarTitle
                      suffix:(NSString *) inSuffix
                table1url:(NSString *) inTable1URL
                table2url:(NSString *) inTable2URL
                table3url:(NSString *) inTable3URL
                table1_2_link:(NSString *) inTable1_2URL
                table2_2_link:(NSString *) inTable2_2URL
                detal_table_link:(NSString *) inTableDetailURL;

@end
